import request from '@/utils/request'

// 查询社保对账单明细列表
export function listScscBillDetail(query) {
  return request({
    url: '/hr/scscBillDetail/list',
    method: 'get',
    params: query
  })
}

// 查询社保对账单明细详细
export function getScscBillDetail(id) {
  return request({
    url: '/hr/scscBillDetail/' + id,
    method: 'get'
  })
}

// 新增社保对账单明细
export function addScscBillDetail(data) {
  return request({
    url: '/hr/scscBillDetail',
    method: 'post',
    data: data
  })
}

// 修改社保对账单明细
export function updateScscBillDetail(data) {
  return request({
    url: '/hr/scscBillDetail',
    method: 'put',
    data: data
  })
}

// 删除社保对账单明细
export function delScscBillDetail(id) {
  return request({
    url: '/hr/scscBillDetail/' + id,
    method: 'delete'
  })
}
